namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("PUB_DEV_CAMERA")]
    public partial class PUB_DEV_CAMERA
    {
        [Key]
        [StringLength(40)]
        public string CAMERA_ID { get; set; }

        [StringLength(40)]
        public string NODE_ID { get; set; }

        [StringLength(40)]
        public string MEDIASERVER_ID { get; set; }

        public short? CHANNEL { get; set; }

        public int BRAND { get; set; }

        public int TYPE { get; set; }

        [StringLength(50)]
        public string NAME { get; set; }

        [StringLength(50)]
        public string USERNAME { get; set; }

        [StringLength(50)]
        public string PASSWORD { get; set; }

        [StringLength(50)]
        public string IP { get; set; }

        public short? HTTP_PORT { get; set; }

        public short? RTSP_PORT { get; set; }

        public short? SERVER_PORT { get; set; }

        public bool? IS_GIS { get; set; }

        public bool? IS_VIEW { get; set; }

        public bool? IS_ACCESS_TIGER { get; set; }

        public bool? NET_STATUS { get; set; }

        public DateTime? NET_STATUS_TIME { get; set; }

        public virtual PUB_DEV_MEDIASERVER PUB_DEV_MEDIASERVER { get; set; }

        public virtual PUB_OF_NODE PUB_OF_NODE { get; set; }
    }
}
